package com.luck.emp.cg.qry;

import java.io.Serializable;
import java.util.Date;

import com.luck.pf.util.BaseQuery;
import com.luck.pf.util.DateUtil;

/**
 * 说明 Copyright: Copyright (c) 2011 深圳**科技
 * 
 * @author
 * 
 */
public class CgQry extends BaseQuery implements Serializable {
	String pk;
	/**
	 * 采购单编码
	 **/
	String cgCode;
	String thCode;
	String status;
	String whCode,whName;
	String note;
	String vendorCode,vendorName;
	/**
	 * 联系人
	 **/
	String contact;
	private Date startDate;
	private Date endDate;

	public String getCgCode() {
		return this.cgCode;
	}

	public void setCgCode(String cgCode) {
		this.cgCode = cgCode;
	}

	public String getContact() {
		return this.contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getPk() {
		return pk;
	}

	public void setPk(String pk) {
		this.pk = pk;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	
	public String getThCode() {
		return thCode;
	}

	public void setThCode(String thCode) {
		this.thCode = thCode;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getVendorCode() {
		return vendorCode;
	}

	public void setVendorCode(String vendorCode) {
		this.vendorCode = vendorCode;
	}

	public String getVendorName() {
		return vendorName;
	}

	public void setVendorName(String vendorName) {
		this.vendorName = vendorName;
	}

	public String getWhCode() {
		return whCode;
	}

	public void setWhCode(String whCode) {
		this.whCode = whCode;
	}

	public String getWhName() {
		return whName;
	}

	public void setWhName(String whName) {
		this.whName = whName;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getStartDateStr() {
		return DateUtil.dateToString(this.startDate,DateUtil.patternA);
	}
	public String getEndDateStr() {
		return DateUtil.dateToString(this.endDate,DateUtil.patternA);
	}
	
}